package com.meitianhui.convenitenbuy.module.home.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.order.model.bean.EmptyInfo;
import com.meitianhui.convenitenbuy.module.store.model.StoreInfo;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface NearByStoreContract {
    interface View extends BaseView<Presenter> {

        void getStoreListSuccess(StoreInfo data);

        void officialStorePostSuccess(EmptyInfo data);

        void officialStorePostFail(int code, String msg);

        void settingDefaultStoreSuccess();
    }

    interface Presenter extends BasePresenter {
        void getStoreList(String longitude, String latitude,String pageIndex, String pageSize);

        void officialStorePost(String storeId, String storeName, String goodsCode, String goodsUrl);

        void settingDefaultStore(String storeId);
    }
}
